<!-- 抖音旗舰店直播间日表 -->
<template>
  <div class="mainTable">
    <BaseTable :query="query" :tableItems="tableItems" :updateItems="updateItems" :optionList="optionList"
      :methodParam="methodParam" :Btn="Btn" :importName="importName" :importURL="importURL" pageName="mainTable" />
  </div>
</template>
<script>
import dayjs from "dayjs"
import BaseTable from "../../table/importTable.vue";
export default {
  name: "dyqjdzbjrb",
  data() {
    return {
      //后端人员修改-S
      //查询参数
      query: [
        {
          prop: "searchTime", type: "time", placeholder: "",
          value: GlobalSetting.fakeTime ?? [dayjs(new Date()).add(-1, 'days').format("YYYY-MM-DD"), dayjs(new Date()).format("YYYY-MM-DD")],
          name: "查询时间"
        },
      ],
      //表格表头
      tableItems: [
        { name: "上传时间", prop: "上传该条数据记录的时间"   ,align: "left" },
        { name: "数据统计时间", prop: "数据统计时间"   ,align: "left" },
        { name: "69码", prop: "69码"   ,align: "left" },
        { name: "主播头像", prop: "主播头像"  ,align: "left" },
        { name: "主播抖音号", prop: "主播抖音号"  ,align: "left"  },
        { name: "主播昵称", prop: "主播昵称"  ,align: "left"  },
        // { name: "主键", prop: "主键" },
        { name: "人均观看时长(分钟)", prop: "人均观看时长(分钟)"  },
        { name: "单小时GMV", prop: "单小时GMV"  },
        { name: "单小时观看人数", prop: "单小时观看人数"  },
        { name: "取关粉丝数", prop: "取关粉丝数"  },
        { name: "商品曝光-点击率(人数)", prop: "商品曝光-点击率(人数)"  },
        { name: "商品曝光-点击率(次数)", prop: "商品曝光-点击率(次数)"  },
        { name: "商品点击-成交率(人数)", prop: "商品点击-成交率(人数)"  },
        { name: "商品点击-成交率(次数)", prop: "商品点击-成交率(次数)"  },
        { name: "带货商品数", prop: "带货商品数"  },
        { name: "平均在线人数", prop: "平均在线人数"  },
        { name: "新加直播团人数", prop: "新加直播团人数"  },
        { name: "新加购物团人数", prop: "新加购物团人数"  },
        { name: "新增粉丝数", prop: "新增粉丝数"  },
        { name: "最高在线人数", prop: "最高在线人数"  },
        { name: "直播佣金", prop: "直播佣金"  },
        { name: "直播开始时间", prop: "直播开始时间"  },
        { name: "直播时长(分钟)", prop: "直播时长(分钟)"  },
        { name: "直播服务费", prop: "直播服务费"  },
        { name: "直播结束时间", prop: "直播结束时间"  },
        { name: "直播间商品曝光人数", prop: "直播间商品曝光人数"  },
        { name: "直播间商品曝光次数", prop: "直播间商品曝光次数"  },
        { name: "直播间商品点击人数", prop: "直播间商品点击人数"  },
        { name: "直播间商品点击次数", prop: "直播间商品点击次数"  },
        { name: "直播间成交人数", prop: "直播间成交人数"  },
        { name: "直播间成交件数", prop: "直播间成交件数"  },
        { name: "直播间成交订单数", prop: "直播间成交订单数"  },
        { name: "直播间成交金额", prop: "直播间成交金额"  },
        { name: "直播间曝光人数", prop: "直播间曝光人数"  },
        { name: "直播间曝光次数", prop: "直播间曝光次数"  },
        { name: "直播间观看人数", prop: "直播间观看人数"  },
        { name: "直播间观看次数", prop: "直播间观看次数"  },
        { name: "直播间退款人数", prop: "直播间退款人数"  },
        { name: "直播间退款订单数", prop: "直播间退款订单数"  },
        { name: "直播间退款金额", prop: "直播间退款金额"  },
        { name: "观看-成交率(人数)", prop: "观看-成交率(人数)"  },
        { name: "观看-成交率(次数)", prop: "观看-成交率(次数)"  },
        { name: "观看老粉占比", prop: "观看老粉占比"  },
        { name: "评论次数", prop: "评论次数"  },
        { name: "预估佣金支出", prop: "预估佣金支出"  },
        { name: "预售全款金额", prop: "预售全款金额"  },
        { name: "预售订单数", prop: "预售订单数"  },
        

      ],
      //增删查改的对象属性
      updateItems: [//edit是回复
        { name: "文件名称", prop: "fileName", type: "input", disabled: true },
        { name: "上传类型", prop: "uploadType", type: "select" },
        { name: "备注", prop: "remark", type: "textarea" },
        { name: "上传文件", prop: "fileAdd", type: "upload" },
      ],
      //增删查改的对象属性的下拉select或者级联cascader
      optionList: {
        unit: [
          {label: "日", value: "日" },
          {label: "周", value: "周" },
          {label: "月", value: "月" },
          {label: "年", value: "年" },
        ]
      },
      //增删查改方法参数
      methodParam: "getDyFlagshipStoreLivingRoomDay",
      //自定义btn功能
      Btn: {
        search: true, //查询按钮
        add: false, //添加按钮
        edit: false, //回复按钮
        detail: false, //详情按钮
        delete: false, //删除按钮
        deletes: false, //批量删除按钮
        export: true, //导出按钮
        templateDownload: false, //模板下载按钮
        upload: false, //上传按钮
      },
      importName: "抖音旗舰店直播间日表上传表",
      importURL: "uploadDyFlagshipStoreLivingRoomDay"
      //后端人员修改-E
    };
  },
  components: {
    BaseTable
  },
  created() {
    let _this = this

  }
};
</script>
<style scoped lang="less">
.mainTable {
  background-color: #f1f2f9;
}
</style>
  